package com.shared;

import java.io.Serializable;

public class Token implements Serializable {
    private String tokenAccess;
    private String tokenRefresh;
    
    public String getAccess () { return this.tokenAccess;   }
    public String getRefresh() { return this.tokenRefresh; }
    
    public Token () {} // for gwt serialisation
    
    public Token (String tokenAccess, String tokenRefresh) {
        this.tokenAccess  = tokenAccess;
        this.tokenRefresh = tokenRefresh;   
    }
}
